var express = require('express');
var router = express.Router();

var userDao = require('../dao/userDao');

/* GET users listing. */
// router.get('/', function(req, res, next) {
//
//   //res.send('2respond with a resource');
//   res.render('users', { title: '用户中心' });
//
// });

router.get('/addUser',function (req,res,next) {
    userDao.add(req,res,next);

});

module.exports = router;
